package com.mall.common.constant;

/**
 * @author: 谢君臣
 * @Date: 2022/7/23-17:57
 * @version: 1.0
 * @function:
 */
public class ProductConstant {

    public enum AttrEnum{
        ATTR_TYPE_BASE(1,"基础属性"),
        ATTR_TYPE_SALE(0,"消费属性");

        private int type;
        private String desc;

        AttrEnum(int type,String desc) {
            this.type = type;
            this.desc = desc;
        }

        public int getType() {
            return type;
        }

        public String getDesc() {
            return desc;
        }
    }
    public enum SpuEnum{
        NEW_SPU(0,"新建"),
        SPU_UP(1,"上架");

        private int type;
        private String desc;

        SpuEnum(int type,String desc) {
            this.type = type;
            this.desc = desc;
        }

        public int getType() {
            return type;
        }

        public String getDesc() {
            return desc;
        }
    }

}
